package com.wangjie.stackandqueue;

/**
 * @author jieshao
 * @date 2022/5/6 18:28
 */
public class Test02 {
    public static void main(String[] args) {
        QueueImpStack qis = new QueueImpStack();
        qis.push(1);
        qis.push(2);
        qis.push(3);
        qis.push(4);
        qis.push(5);
        System.out.println(qis.top());
        System.out.println(qis.pop());
        System.out.println(qis.empty());
    }
}